<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property int $scheme_id 方案ID
 * @property string $date 日期
 * @property int $target_cnt 受众用户数
 * @property int $sent_target_cnt 发送用户数
 * @property int $finished_target_cnt 目标完成用户数
 * @property \Carbon\Carbon $created_at 
 */
class ChSmartPushSchemeStatistic extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_smart_push_scheme_statistics';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'scheme_id', 'date', 'target_cnt', 'sent_target_cnt', 'finished_target_cnt', 'created_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'scheme_id' => 'integer', 'target_cnt' => 'integer', 'sent_target_cnt' => 'integer', 'finished_target_cnt' => 'integer', 'created_at' => 'datetime'];
}
